package my.zuul.demo.controller;

import my.zuul.demo.vo.ZuulVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ZuulDefaultController {
    @Autowired
    private ZuulVo zuulVo;

    @GetMapping("getConfig")
    public String getConfig(){
        return zuulVo.toString();
    }
}
